Get Chrome Alert Message
AutomatR.Windows.Activities.GetChromeAlertMessage
The "Get Chrome Alert Message" activity in AutomatR for Windows UI Automation retrieves the alert message popup displayed on the Chrome browser. This activity is useful when you need to capture and process alert messages generated by web applications.
Properties
Name | Description |
---|---|
Misc | |
Display Name | Provides a customizable name for the activity displayed in the workflow. String variables containing the desired display name. |
Optional | |
Delay | Specifies the amount of time (in seconds) to wait before starting the activity. Integer variables containing the delay duration. Ex.: If the amount of time is 1000 milliseconds or 1 sec, i.e., 1. |
Output | |
Message | Outputs the alert message retrieved from the Chrome browser. String variables to store the alert message. |
How to use:
- Drag and drop the "Get Chrome Alert Message" activity onto the workflow.
- Optionally, configure the delay setting.
- Execute the workflow to capture the alert message from the Chrome browser.
Example: Consider an example where the "Get Chrome Alert Message" activity is used to retrieve and store an alert message:
Get Chrome Alert Message:
Display Name: "Capture Alert Message"
Delay: 2
Message: alertMessage
In this example, the activity waits for 2 seconds and then retrieves the alert message displayed on the Chrome browser. The obtained message is stored in the "alertMessage" variable for further use in the workflow.